<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="x-ua-compatible" content="ie=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="./styles/graphdoc.css" />
    <title>Mutation</title>
    <link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet"><link type="text/css" rel="stylesheet" href="./assets/code.css" /><link type="text/css" rel="stylesheet" href="./assets/require-by.css" />
</head>
<body class="slds-scrollable--y">
    <nav class="slds-grid slds-grid--vertical slds-col--rule-right">
        <header class="slds-p-around--medium slds-col slds-shrik slds-grow-none">
            <button class="slds-button slds-button--icon slds-float--right js-toggle-navigation less-than-medium">
                <i class="material-icons">close</i>
            </button>
                <h3 class="slds-text-heading--medium"><a href="./">GraphQL Schema</a></h3>
            <div class="slds-p-top--small">
                <input id="type-search" type="text" placeholder="Search a type" autofocus="" class="slds-input" />
            </div>
        </header>
        <div id="navication-scroll" class="slds-scrollable--y slds-col slds-grow">
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Schema</h4>
    <ul>
        <li  title="Query">
            <a href="query.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Query
            </a>
        </li>
        <li class="slds-is-active" title="Mutation">
            <a href="mutation.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Mutation
            </a>
        </li>
    </ul>
</div>
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Scalars</h4>
    <ul>
        <li  title="Boolean">
            <a href="boolean.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Boolean
            </a>
        </li>
        <li  title="ID">
            <a href="id.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                ID
            </a>
        </li>
        <li  title="Int">
            <a href="int.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Int
            </a>
        </li>
        <li  title="JSON">
            <a href="json.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                JSON
            </a>
        </li>
        <li  title="JSONObject">
            <a href="jsonobject.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                JSONObject
            </a>
        </li>
        <li  title="String">
            <a href="string.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                String
            </a>
        </li>
        <li  title="Upload">
            <a href="upload.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Upload
            </a>
        </li>
    </ul>
</div>
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Enums</h4>
    <ul>
        <li  title="CacheControlScope">
            <a href="cachecontrolscope.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                CacheControlScope
            </a>
        </li>
        <li  title="__DirectiveLocation">
            <a href="directivelocation.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __DirectiveLocation
            </a>
        </li>
        <li  title="__TypeKind">
            <a href="typekind.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __TypeKind
            </a>
        </li>
    </ul>
</div>
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Objects</h4>
    <ul>
        <li  title="Bullet">
            <a href="bullet.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Bullet
            </a>
        </li>
        <li  title="FriendInvitation">
            <a href="friendinvitation.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                FriendInvitation
            </a>
        </li>
        <li  title="LoginResponse">
            <a href="loginresponse.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                LoginResponse
            </a>
        </li>
        <li  title="Room">
            <a href="room.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Room
            </a>
        </li>
        <li  title="RoomInvitation">
            <a href="roominvitation.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                RoomInvitation
            </a>
        </li>
        <li  title="Tag">
            <a href="tag.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Tag
            </a>
        </li>
        <li  title="User">
            <a href="user.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                User
            </a>
        </li>
        <li  title="UserSearchResponse">
            <a href="usersearchresponse.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                UserSearchResponse
            </a>
        </li>
        <li  title="Video">
            <a href="video.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                Video
            </a>
        </li>
        <li  title="__Directive">
            <a href="directive.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __Directive
            </a>
        </li>
        <li  title="__EnumValue">
            <a href="enumvalue.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __EnumValue
            </a>
        </li>
        <li  title="__Field">
            <a href="field.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __Field
            </a>
        </li>
        <li  title="__InputValue">
            <a href="inputvalue.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __InputValue
            </a>
        </li>
        <li  title="__Schema">
            <a href="schema.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __Schema
            </a>
        </li>
        <li  title="__Type">
            <a href="type.spec.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                __Type
            </a>
        </li>
    </ul>
</div>
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Input Objects</h4>
    <ul>
        <li  title="UserInput">
            <a href="userinput.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                UserInput
            </a>
        </li>
    </ul>
</div>
<div class="slds-grid slds-grid--vertical slds-navigation-list--vertical">
    <h4 class="slds-text-title--caps slds-p-around--medium">Directives</h4>
    <ul>
        <li  title="cacheControl">
            <a href="cachecontrol.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                cacheControl
            </a>
        </li>
        <li  title="deprecated">
            <a href="deprecated.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                deprecated
            </a>
        </li>
        <li  title="include">
            <a href="include.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                include
            </a>
        </li>
        <li  title="skip">
            <a href="skip.doc.html" class="slds-navigation-list--vertical__action slds-text-link--reset slds-truncate">
                skip
            </a>
        </li>
    </ul>
</div>
        </div>
    </nav>
    <main><section class="title slds-theme--inverse">
    <div class="container slds-grid">
        <div>
        <button class="slds-button js-toggle-navigation less-than-medium">
            <i class="material-icons slds-button__icon slds-button__icon--left">menu</i>
            <span class="slds-text-title--caps">Types<span>
        </button>
        </div>
        </div>
    </div>
    <div class="container">
        <p class="slds-text-title--caps slds-text-color--weak">OBJECT</p>
        <h1 class="slds-text-heading--large">Mutation</h1>
        <div class="slds-text-body--regular"></div>
    </div>
</section>
<section>
    <div class="container">
        <h2 id="graphql-schema-definition" class="graphdoc-section__title slds-text-heading--medium slds-m-top--small">
            <a href="#graphql-schema-definition">
                <i class="material-icons">link</i>
            </a>
            GraphQL Schema definition
        </h2>
        <code class="highlight"><ul class="code" style="padding-left:56px"><li><span class="keyword operator ts">type</span> <span class="identifier">Mutation</span> {</li><li></li><li><span class="tab"><span class="meta">_</span>: <a class="support type" href="boolean.doc.html">Boolean</a> </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>username</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>password</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>email</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>firstname</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>lastname</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>avatar</strong>: </span></span></li><li><span class="tab"><span class="meta">createUser</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">username</span>: <a class="support type" href="string.doc.html">String</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">password</span>: <a class="support type" href="string.doc.html">String</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">email</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">firstname</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">lastname</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">avatar</span>: <a class="support type" href="string.doc.html">String</a></span></span></li><li><span class="tab">): <a class="support type" href="loginresponse.doc.html">LoginResponse</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>password</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>email</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>firstname</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>lastname</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>avatar</strong>: </span></span></li><li><span class="tab"><span class="meta">updateUser</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">password</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">email</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">firstname</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">lastname</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">avatar</span>: <a class="support type" href="string.doc.html">String</a></span></span></li><li><span class="tab">): <a class="support type" href="user.doc.html">User</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>username</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>password</strong>: </span></span></li><li><span class="tab"><span class="meta">login</span>(<span class="meta">username</span>: <a class="support type" href="string.doc.html">String</a>!, <span class="meta">password</span>: <a class="support type" href="string.doc.html">String</a>!): <a class="support type" href="loginresponse.doc.html">LoginResponse</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>username</strong>: </span></span></li><li><span class="tab"><span class="meta">delete</span>(<span class="meta">username</span>: <a class="support type" href="string.doc.html">String</a>!): <a class="support type" href="user.doc.html">User</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>alias</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>users</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>admins</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>public</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>avatar</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>widgets</strong>: </span></span></li><li><span class="tab"><span class="meta">createRoom</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">alias</span>: <a class="support type" href="string.doc.html">String</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">users</span>: <a class="support type" href="json.doc.html">JSON</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">admins</span>: <a class="support type" href="json.doc.html">JSON</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">public</span>: <a class="support type" href="boolean.doc.html">Boolean</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">avatar</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">widgets</span>: <a class="support type" href="json.doc.html">JSON</a></span></span></li><li><span class="tab">): <a class="support type" href="room.doc.html">Room</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>roomId</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>alias</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>admins</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>users</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>public</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>avatar</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>widgets</strong>: </span></span></li><li><span class="tab"><span class="meta">updateRoom</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">roomId</span>: <a class="support type" href="id.doc.html">ID</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">alias</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">admins</span>: <a class="support type" href="json.doc.html">JSON</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">users</span>: <a class="support type" href="json.doc.html">JSON</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">public</span>: <a class="support type" href="boolean.doc.html">Boolean</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">avatar</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">widgets</span>: <a class="support type" href="json.doc.html">JSON</a></span></span></li><li><span class="tab">): <a class="support type" href="room.doc.html">Room</a> </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>roomId</strong>: </span></span></li><li><span class="tab"><span class="meta">deleteRoom</span>(<span class="meta">roomId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="room.doc.html">Room</a> </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>roomId</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>source</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>timestamp</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>content</strong>: </span></span></li><li><span class="tab"><span class="meta">createBullet</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">roomId</span>: <a class="support type" href="id.doc.html">ID</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">source</span>: <a class="support type" href="string.doc.html">String</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">timestamp</span>: <a class="support type" href="int.doc.html">Int</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">content</span>: <a class="support type" href="string.doc.html">String</a>!</span></span></li><li><span class="tab">): <a class="support type" href="bullet.doc.html">Bullet</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>bulletId</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>content</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>type</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>tags</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>timestamp</strong>: </span></span></li><li><span class="tab"><span class="meta">updateBullet</span>(</span></li><li><span class="tab"><span class="tab"><span class="meta">bulletId</span>: <a class="support type" href="id.doc.html">ID</a>!,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">content</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">type</span>: <a class="support type" href="string.doc.html">String</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">tags</span>: <a class="support type" href="json.doc.html">JSON</a>,</span></span></li><li><span class="tab"><span class="tab"><span class="meta">timestamp</span>: <a class="support type" href="int.doc.html">Int</a></span></span></li><li><span class="tab">): <a class="support type" href="bullet.doc.html">Bullet</a> </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>bulletId</strong>: </span></span></li><li><span class="tab"><span class="meta">deleteBullet</span>(<span class="meta">bulletId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="bullet.doc.html">Bullet</a> </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>roomId</strong>: </span></span></li><li><span class="tab"><span class="comment line">#   <strong>userId</strong>: </span></span></li><li><span class="tab"><span class="meta">createRoomInvitation</span>(<span class="meta">roomId</span>: <a class="support type" href="id.doc.html">ID</a>!, <span class="meta">userId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="roominvitation.doc.html">RoomInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>invitationId</strong>: </span></span></li><li><span class="tab"><span class="meta">acceptRoomInvitation</span>(<span class="meta">invitationId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="roominvitation.doc.html">RoomInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>invitationId</strong>: </span></span></li><li><span class="tab"><span class="meta">declineRoomInvitation</span>(<span class="meta">invitationId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="roominvitation.doc.html">RoomInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>to</strong>: </span></span></li><li><span class="tab"><span class="meta">createFriendInvitation</span>(<span class="meta">to</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="friendinvitation.doc.html">FriendInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>invitationId</strong>: </span></span></li><li><span class="tab"><span class="meta">acceptFriendInvitation</span>(<span class="meta">invitationId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="friendinvitation.doc.html">FriendInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>invitationId</strong>: </span></span></li><li><span class="tab"><span class="meta">declineFriendInvitation</span>(<span class="meta">invitationId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="friendinvitation.doc.html">FriendInvitation</a>! </span></li><li></li><li><span class="tab"><span class="comment line"># Arguments</span></span></li><li><span class="tab"><span class="comment line">#   <strong>userId</strong>: </span></span></li><li><span class="tab"><span class="meta">deleteFriend</span>(<span class="meta">userId</span>: <a class="support type" href="id.doc.html">ID</a>!): <a class="support type" href="user.doc.html">User</a> </span></li><li>}</li></ul></code>
    </div>
</section>
<section>
    <div class="container">
        <h2 id="require-by" class="graphdoc-section__title slds-text-heading--medium slds-m-top--small">
            <a href="#require-by">
                <i class="material-icons">link</i>
            </a>
            Require by
        </h2>
        <div class="require-by anyone">This element is not required by anyone</div>
    </div>
</section>
<footer>
<div class="container slds-p-around--large">
    <p class="slds-text-align--right slds-text-title--caps">
        Generated with <a href="https://github.com/2fd/graphdoc#readme" target="_blank">graphdoc 2.4.0</a>
    </p>
</div>
</footer>
</main>
    <script src="./scripts/focus-active.js"></script>
    <script src="./scripts/filter-types.js"></script>
    <script src="./scripts/toggle-navigation.js"></script>
</body>